package com.preparation.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Integer id;     //主键id

    private String username;    //用户名

    private String password;    //密码

    private String nickname;    //昵称

    private Integer gender;     // 性别

    private String avatar;      //头像

    private String phone;       //手机号

    private String birthday;       // 生日

    private String location;        // 地区

    private Integer followingCount;     // 关注数

    private Integer followerCount;     //粉丝数

    private Date createTime;        // 创建时间

    private String account_status;      //账号状态


    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }
}
